package nju.software.tagmanager.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import nju.software.tagmanager.pojo.entity.Category;
import nju.software.tagmanager.pojo.entity.Item;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author: raychou
 * @date: 2024-01-15 20:42
 * @description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TagVO extends BaseVO implements Serializable {


    public List<BaseVO> getCategories() {
        return super.getPrevElems();
    }

    public void setCategories(List<BaseVO> categories) {
        super.setPrevElems(categories);
    }
    public List<BaseVO> getItems() {
        return super.getPostElems();
    }

    public void setItems(List<BaseVO> items) {
        super.setPostElems(items);
    }


}
